package com.wanxi.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author yangjin
 * @date 2022年08月08日 19:49
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "用户",description = "用于存放用户的基本属性的实体类")
public class UserEntity implements Serializable {
    @ApiModelProperty(value = "用户id",example = "这是标识用户唯一的属性")
    private Integer userId;
    @ApiModelProperty(value = "用户姓名",example = "张三")
    private String name;
    @ApiModelProperty(value = "联系电话",example = "165612357944")
    private Integer phone;
    @ApiModelProperty(value = "电子邮件",example = "4568169565@qq.com")
    private String email;
    @ApiModelProperty(value = "性别",example = "0 男，1女，2保密")
    private Integer sex;
    @ApiModelProperty(value = "身份证件类型",example = "身份证")
    private Integer identityType;
    @ApiModelProperty(value = "身份证件号码",example = "511922200204255119")
    private String identityCard;
    @ApiModelProperty(value = "头像",example = "图片的base64")
    private String profilePicture;
    @ApiModelProperty(value = "用户常驻城市",example = "四川省成都市高新区")
    private String residentCity;
    @ApiModelProperty(value = "银行卡号",example = "6216635006000089527")
    private Integer bankCard;
}
